<?php
class offerComponents extends sfComponents {

  public function executeReceipt(sfWebRequest $request) {
    $this->ticket = TICKETTable::getInstance()->find($request->getParameter('id'));
    $this->offer  = $this->ticket->getOFFER();
    $this->movie  = $this->offer->getMOVIE();
    $this->cinema = $this->offer->getCINEMA();
  }
}
?>